package com.nami.store.biz.sendboxmsgs.service;

import com.nami.store.biz.sendboxmsgs.repository.SendboxMsgsRepository;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.Date;

@Slf4j
@Service
@RequiredArgsConstructor
public class SendBoxMsgDomainServiceImpl implements SendBoxMsgDomainService {

    private final SendboxMsgsRepository sendboxMsgsRepository;

    @Override
    public boolean delByTime(String appKey, Date time) {
        return sendboxMsgsRepository.delByTime(appKey, time);
    }

}
